<script setup lang='ts'>
import ChildOne from './components/ChildOne.vue'
import ChildTwo from './components/ChildTwo.vue'
import { useCounterStore } from './stores/counter';

const counter = useCounterStore()
counter.getChannelList()


</script>

<template>
  <div>
    <ChildOne />
    <ChildTwo />
    <ul>
      <li v-for="item in counter.channelList" :key="item.id">{{ item.name }}</li>
    </ul>
  </div>
</template>

<style scoped></style>